package com.gjy.batch.module;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-07-03 08:54:53
 */
@Entity
@Data
@Table(name = "student_info")
public class StudentInfo {

    @Id
    private String id;
    private String name;
    private int age;
    private String sex;
    private String address;
    private String phone;

    @Column(name = "create_time")
    private LocalDateTime createTime = LocalDateTime.now();

}
